package com.muxue.module.ai.model.dto.embedding;

import org.springframework.boot.context.properties.ConfigurationProperties;

import static com.muxue.module.ai.model.dto.common.constants.TongYiConstants.SCA_AI_CONFIGURATION;


/**
 * @author why_ohh
 * @author muxue
 * @author <a href="mailto:550588941@qq.com">why_ohh</a>
 * @since 2023.0.1.0
 */

@ConfigurationProperties(TongYiTextEmbeddingProperties.CONFIG_PREFIX)
public class TongYiTextEmbeddingProperties {

	/**
	 * Prefix of TongYi Text Embedding properties.
	 */
	public static final String CONFIG_PREFIX = SCA_AI_CONFIGURATION + "embedding";

	private boolean enabled = true;

	public boolean isEnabled() {

		return this.enabled;
	}

	public void setEnabled(boolean enabled) {

		this.enabled = enabled;
	}

}
